<?php $this->headScript()->appendFile('/js/ecart/admin/import/locale.js') ?>
<?php $this->headScript()->appendFile('/js/ecart/admin/import/options.js') ?>
<?php $this->headScript()->appendFile('/js/ecart/admin/import/grid.js') ?>
<?php $this->headScript()->appendFile('/js/ecart/admin/import/window.js') ?>
<?php
$this->setButtons(array(
    array(
        'title' => Ecart::translate('Ecart_Admin')->__('Back'),
        'onclick' => 'history.back()',
        'class' => 'alt-button'
    )
));
echo $this->formSelect('sites', null, null, Ecart_Collect_Site::collect());
?>
<script type="text/javascript">
var ecart_languages = [
<?php $js = "";
foreach ($this->languages as $id => $name) {
    $js .= "{'id':'$id', 'name':'$name'},";
}
echo substr($js, 0, -1);
?>
];
</script>